package com.bupt.bean;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@ToString
@Entity
@Table(name = "alarm_strategy_t", schema = "dev", catalog = "")
public class AlarmStrategy {

    @Id
    private Integer alarmStrategyId;

    private Integer deviceId;

    private Integer deviceChannelId;

    private Integer channelSectionId;

    private String attributeNameEn;

    private String attributeNameCn;

    private int attributeValueTypeId;

    private int attributeValueCheckTypeId;

    private String threshold;

    private int strategyLevel;

    private Timestamp createTime;

    private int status;

    private Integer deviceTypeAttributeCheckId;


}
